c37217
@@ -200,7 +200,8 @@
public class WALProcedureStore extends ProcedureStoreBase {
       throws IOException {
     this(conf,
         new Path(CommonFSUtils.getWALRootDir(conf), MASTER_PROCEDURE_LOGDIR),
-        new Path(CommonFSUtils.getRootDir(conf), HConstants.HREGION_OLDLOGDIR_NAME), leaseRecovery);
+        new Path(CommonFSUtils.getWALRootDir(conf), HConstants.HREGION_OLDLOGDIR_NAME),
+        leaseRecovery);
   }
 
   @VisibleForTesting
@@ -1189,6 +1190,11 @@
public class WALProcedureStore extends ProcedureStoreBase {
     return this.walDir;
   }
 
+  @VisibleForTesting
+  Path getWalArchiveDir() {
+    return this.walArchiveDir;
+  }
+
   public FileSystem getFileSystem() {
     return this.fs;
   }
